package o;

import androidx.annotation.NonNull;
import com.huawei.appgallery.foundation.apikit.execption.NotRegisterExecption;

public class cdb {
    @NonNull
    public static <T> T ॱ(@NonNull Class<T> cls) {
        T ˋ = cdc.ˋ(cls);
        if (ˋ != null && cls.isAssignableFrom(ˋ.getClass())) {
            return ˋ;
        }
        throw new NotRegisterExecption("Method is not register.Please call registerMethod()");
    }

    public static boolean ॱ(@NonNull Class<? extends ccy> cls, @NonNull ccy o_ccy) {
        return cdc.ॱ(cls, o_ccy);
    }
}
